<template>
  <div>
    <!-- 给组件的属性加上数据 -->
    <!-- 不加冒号是给组件是实例对象vc传值，
    加了冒号是给子组件的data里传值 -->
    <Student name="张三" sex="男" :age="18" :obj=objjj></Student>
  </div>
</template>

<script>
import Student from './components/Student'

export default {
  name: 'App',
  components: {
    Student
  },
  data() {
    return {
      objjj: {
        name222: "李四",
        age222: 19,
        sex222: '女'
      }
    }
  }
}
</script>
